package com.demo10;

/**
 * Created by Administrator on 2017/4/13.
 */
public class Arith {
    public static void main(String[] args) {
        float number1 = 45.56f;
        int number2 = 152;
        System.out.println("和为: " + (number1 + number2));
        System.out.println("差为: " + (number1 - number2));
        System.out.println("积为: " + (number1 * number2));
        System.out.println("商为: " + (number1 / number2));
        int a=4;
        int b1=a++;
        System.out.println("a的值为: "+a);
        System.out.println("b1的值为: "+b1);
        int b2=++a;
//        System.out.println("a的值为: "+a);
//        System.out.println("b2的值为: "+b2);
    }
}
